﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class usename
    {
        private string name;
        private int account;
        private int password;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }

        }
        public int Account
        {
            get { return this.account; }
            set { this.account = value; }

        }
        public int Password
        {
            get { return this.password; }
            set { this.password = value; }

        }
        public void use()
        {
            Console.WriteLine("名字是{0},账号为{1},密码为{2}", this.name, this.account, this.password);
        }
    }
}
